package com.zr.planclass.model.pojo;

import com.zr.share.config.ErrorMassage;
import lombok.Data;
import org.springframework.stereotype.Component;

import javax.validation.constraints.NotNull;

/**
 * @ClassName PlanClassUpdateVo
 * @Description 修改参数传递
 * @Author 马家奎
 * @Date 2019/11/8 13:40
 */
@Component
@Data
public class PlanClassUpdateVo {

    /**
    *计划大类状态
    */
    @NotNull(message = ErrorMassage.STATUS_NOT_NOLL)
    private Boolean status;


    /**
     *计划大类名称
     */
    @NotNull(message = ErrorMassage.NAME_NOT_NULL)
    private String name;
    /**
    *计划大类id
    */
    @NotNull(message = ErrorMassage.ID_NOT_NULL)
    private Integer id;
    /**
    *计划大类描述
    */
    private String remark;
    /**
    *版本控制
    */
    private Integer version;


            
}
